//package com.example.apiservice.client.fallback;
//
//
//import com.example.apiservice.client.AiClient;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.cloud.openfeign.FallbackFactory;
//
//@Slf4j
//public class AiClientFallbackFactory implements FallbackFactory<AiClient> {
//    @Override
//    public AiClient create(Throwable cause) {
//        return new AiClient() {
//            @Override
//            public void AiTest(Object obj) {
//                log.error("ai模块异常，异常原因：", cause);
//                throw new RuntimeException(cause);
//            }
//        };
//    }
//}
